import request from '@/utils/request'
export default class index {
  // 小游戏每日统计
  static gameDayStatistics(params: any) {
    return request({
      url: 'api/statistics/gameDayStatistics',
      method: 'get',
      params
    })
  }
  // 小游戏每日房间统计
  static gameRoomDayStatistics(params: any) {
    return request({
      url: 'api/statistics/gameRoomDayStatistics',
      method: 'get',
      params
    })
  }
  // 房间团战每日团战次数统计
  static roomPkStatistics(params: any) {
    return request({
      url: 'api/statistics/roomPkStatistics',
      method: 'get',
      params
    })
  }
  // 房间团战pk详情查询
  static roomPkList(params: any) {
    return request({
      url: 'api/statistics/roomPkList',
      method: 'get',
      params
    })
  }
  // 娱乐等级整体数据
  static gameRankStat(params: any = {}) {
    return request({
      url: 'api/statistics/gameRankStat',
      method: 'get',
      params
    })
  }
  // 娱乐等级奖励下发明细
  static gameRankRewardStat(params: any = {}) {
    return request({
      url: 'api/statistics/gameRankRewardStat',
      method: 'get',
      params
    })
  }
  // kov用户数据统计列表
  static kovUsercostList(params: any) {
    return request({
      url: 'api/usercost/lists',
      method: 'get',
      params
    })
  }
  // Excel查询或关键词查询接口
  static kovUsercostListSerach(data: any) {
    return request({
      url: 'api/usercost/serachKov',
      method: 'post',
      data
    })
  }
  // 直播间-新用户活动-统计 当日首充用户数据
  static recharge(params: any = {}) {
    return request({
      url: 'api/firstuser/recharge',
      method: 'get',
      params
    })
  }
  // 直播间-新用户活动-统计 次日留存率
  static tomorrow(params: any = {}) {
    return request({
      url: 'api/firstuser/tomorrow',
      method: 'get',
      params
    })
  }
  // 国庆活动统计 送礼数据
  static giftlog(params: any = {}) {
    return request({
      url: 'api/national/giftlog',
      method: 'get',
      params
    })
  }
  // 国庆活动统计 送礼任务数据
  static sendgiftlevel(params: any = {}) {
    return request({
      url: 'api/national/sendgiftlevel',
      method: 'get',
      params
    })
  }
  // 极妙参与礼物池统计
  static getJmRewardPool(params: any = {}) {
    return request({
      url: 'api/statistics/getJmRewardPool',
      method: 'get',
      params
    })
  }
  // 极妙参与参与记录
  static getJmRewardList(params: any = {}) {
    return request({
      url: 'api/statistics/getJmRewardList',
      method: 'get',
      params
    })
  }
  // 新用户首充发放奖励数据统计
  static getfirstrechargeList(params: any = {}) {
    return request({
      url: 'api/firstrecharge/list',
      method: 'get',
      params
    })
  }
  // 2023疯狂双十一贝壳礼包数据概述
  static ssy2023ShellBagStat(params: any = {}) {
    return request({
      url: 'api/statistics/ssy2023ShellBagStat',
      method: 'get',
      params
    })
  }
  // 2023疯狂双十一折扣礼包数据概述
  static ssy2023RateBagStat(params: any = {}) {
    return request({
      url: 'api/statistics/ssy2023RateBagStat',
      method: 'get',
      params
    })
  }
  // 2023疯狂双十一折扣礼物数据概述
  static ssy2023GiftStat(params: any = {}) {
    return request({
      url: 'api/statistics/ssy2023GiftStat',
      method: 'get',
      params
    })
  }
  // 2023双12贝壳礼包数据概述
  static sse2023ShellBagStat(params: any = {}) {
    return request({
      url: 'api/statistics/sse2023ShellBagStat',
      method: 'get',
      params
    })
  }
  // 2023双12折扣礼包数据概述
  static sse2023RateBagStat(params: any = {}) {
    return request({
      url: 'api/statistics/sse2023RateBagStat',
      method: 'get',
      params
    })
  }
  // 2023双12折扣礼物数据概述
  static sse2023GiftStat(params: any = {}) {
    return request({
      url: 'api/statistics/sse2023GiftStat',
      method: 'get',
      params
    })
  }
  // 留言板列表
  static sdj2023LybList(params: any = {}) {
    return request({
      url: 'api/statistics/lybList',
      method: 'get',
      params
    })
  }
  // 留言板人工审核
  static sdj2023LybAudit(data: any) {
    return request({
      url: 'api/statistics/lybAudit',
      method: 'post',
      data
    })
  }
  // 2023双旦节榜上有名主播榜
  static sdj2023RankUser(params: any = {}) {
    return request({
      url: 'api/statistics/sdj2023RankUser',
      method: 'get',
      params
    })
  }
  // 2023双旦节榜上有名富豪榜
  static sdj2023RankRich(params: any = {}) {
    return request({
      url: 'api/statistics/sdj2023RankRich',
      method: 'get',
      params
    })
  }
  // 2023双旦节榜上有名房间榜
  static sdj2023RankRoom(params: any = {}) {
    return request({
      url: 'api/statistics/sdj2023RankRoom',
      method: 'get',
      params
    })
  }
  // 2023双旦节好运连连每日数据
  static sdj2023HyllDatStat(params: any = {}) {
    return request({
      url: 'api/statistics/sdj2023HyllDatStat',
      method: 'get',
      params
    })
  }
  // 2023双旦节礼物销量
  static sdj2023Giftsales(params: any = {}) {
    return request({
      url: 'api/gift/sendList',
      method: 'get',
      params
    })
  }
  // 2023双旦节送礼详情流水列表
  static sdj2023Giftdetails(params: any = {}) {
    return request({
      url: 'api/gift/sendInfo',
      method: 'get',
      params
    })
  }
  // 周星礼物列表
  static getGiftstarConfigList(params: any = {}) {
    return request({
      url: 'api/activity/giftstar/config/list',
      method: 'get',
      params
    })
  }
  // 周星礼物 删除
  static getGiftstarConfigDelete(params: any = {}) {
    return request({
      url: 'api/activity/giftstar/config/delete',
      method: 'get',
      params
    })
  }
  // 周星统计列表
  static statisticsList(params: any = {}) {
    return request({
      url: 'api/activity/giftstar/statistics/list',
      method: 'get',
      params
    })
  }
  // 周星礼物池列表
  static getGiftstarRewardList(params: any = {}) {
    return request({
      url: 'api/activity/giftstar/reward/list',
      method: 'get',
      params
    })
  }
  // 新增周星礼物
  static getGiftstarConfigAdd(data: any) {
    return request({
      url: 'api/activity/giftstar/config/add',
      method: 'post',
      data
    })
  }
  // 全家总动员统计整体数据
  static statSearchAll(params: any) {
    return request({
      url: 'api/familyCompetition/statSearchAll',
      method: 'get',
      params
    })
  }
  // 全家总动员单期数据
  static statGameEvery(params: any) {
    return request({
      url: 'api/familyCompetition/statGameEvery',
      method: 'get',
      params
    })
  }
  // 全家总动员用户参与明细
  static statUserInfo(params: any) {
    return request({
      url: 'api/familyCompetition/statUserInfo',
      method: 'get',
      params
    })
  }
  // 全家总动员商店兑换数据
  static statShopList(params: any) {
    return request({
      url: 'api/familyCompetition/statShopList',
      method: 'get',
      params
    })
  }
  // 全家总动员获取配置
  static familyconfig() {
    return request({
      url: 'api/familyCompetition/config',
      method: 'get',
    })
  }
  // 全家总动员更新配置
  static configUpdate(data: any) {
    return request({
      url: 'api/familyCompetition/configUpdate',
      method: 'post',
      data
    })
  }
  // 邀请活动每日用户邀请贡献明细
  static dayStatList(params:any) {
    return request({
      url: 'api/activity/invite202307/dayStatList',
      method: 'get',
      params
    })
  }
  // 邀请活动解绑
  static changeMoveInviteCode(id:number | string = 0,params:any={}) {
    return request({
      url: 'api/activity/invite202307/changeMoveInviteCode',
      method: 'get',
      params
    })
  }
  // 邀请活动绑定
  static changeBindInviteCode(params:any) {
    return request({
      url: 'api/activity/invite202307/changeBindInviteCode',
      method: 'get',
      params
    })
  }
  // 盖楼礼物 送礼数据
  static buildAFloorGiftlog() {
    return request({
      url: 'api/qxlove/giftlog',
      method: 'get',
    })
  }
  // 返利统计
  static rebate_list(params:any) {
    return request({
      url: 'api/ddyy/rebate_list',
      method: 'get',
      params
    })
  }
}
